home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Source Code / C / Applications / Python 1.4 / Python 1.4 source / Lib / dbhash.py < prev    next >
Encoding:
Python Source  |  1996-03-18  |  173 b   |  9 lines  |  [TEXT/Pyth]

  1. """Provide a (g)dbm-compatible interface to bsdhash.hashopen."""
  2.  
  3. import bsddb
  4.  
  5. error = bsddb.error
  6.  
  7. def open(file, flag, mode):
  8.     return bsddb.hashopen(file, flag, mode)
  9.